import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [
    {
        path: '/',
        name: 'Index',
        redirect: '/agent',
        children: [
            {
                path: "/agent",
                name: "Agent",
                component: () => import('../views/IndexView.vue'),
            }
        ]
    },
];

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router
